﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Setup.aspx.cs" Inherits="RCREEE.Web.Setup" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>AREED - Browsing Setup</title>
    <style type="text/css">
        .style1
        {
            font-size: xx-large;
            font-family: "Times New Roman" , Times, serif;
        }
        .style2
        {
            color: #0268b0;
            font-size: larger;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <table align="center" width="1000px" style="border: medium solid #000000">
        <tr>
            <td style="border: medium solid #000000; width: 100%;" align="center" class="style1">
                <h1 class="style2">
                    <strong>A R E E D </strong>
                </h1>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Panel ID="pnlWelcome" runat="server" GroupingText="Welcome">
                    <table>
                        <tr>
                            <td align="center">
                                Welcome, to AREED Web Portal ( Beta Version )
                                <br />
                                Please, follow the following instructions in order to browse the portal in a customized
                                way.
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Panel ID="pnlInstructions" runat="server" GroupingText="Instructions">
                    <ul>
                        <li>
                            <h2>
                                General
                            </h2>
                            <ul>
                                <li>All the settings that you choose, can be changed later, using the session administration
                                    panel that will be available on the top of each page through the browsing session.</li>
                                <li>Choosing the settings carefully for your session at its start, will be much better,
                                    as re-choosing those settings during your session might cost you a long refresh
                                    for the web page that you are currently browsing, and on some cases might enforce
                                    a session restart.</li>
                                <li>All data Entered in this Beta Version are for demo purpose.</li>
                                <li>You might face some not-working links, that would be because their actions might
                                    be suspended for some testing reasons, and they will be working shortly.</li>
                            </ul>
                            <br />
                        </li>
                        <li>
                            <h2>
                                Language Code
                            </h2>
                            <ul>
                                <li>You have to choose a browsing Language for your browsing session.</li>
                                <li>Available Languages:
                                    <ul>
                                        <li><strong>English</strong></li>
                                        <li><strong>عربى</strong></li>
                                        <li><strong>Français</strong></li>
                                    </ul>
                                </li>
                                <li>Browsing language will affect all texts in both:
                                    <ul>
                                        <li>Illustrating Interface</li>
                                        <li>Data</li>
                                    </ul>
                                </li>
                                <li style="color: #CC3300">Because of the lack of the localized Illustration and Content
                                    at the moment, all the illustration will be available in English. However, some
                                    content may ne available in other languages for testing purposes.</li>
                            </ul>
                            <br />
                        </li>
                        <li>
                            <h2>
                                Browsing Mode
                            </h2>
                            <ul>
                                <li>You have to choose a browsing Mode for your browsing session.</li>
                                <li>Browsing mode will affect the way you may navigate through the web portal,as follows:
                                    <ul>
                                        <li><strong>Index Mode</strong>: In this way, the portal will be more of a dynamic version
                                            of the Index provided RCREEE. (In Chapters)</li>
                                        <li><strong>Entities Mode</strong>: In this way, the portal will be listing the Entities
                                            of the portal, regardless of their position in the Index Hierarchy.</li>
                                    </ul>
                                    <br />
                                </li>
                            </ul>
                        </li>
                        <li>
                            <h2>
                                Authentication
                            </h2>
                            <ul>
                                <li>This is only needed when you are one of the Web Portal Administration Team, or One
                                    of the Data Entry Team.</li>
                                <li>Not providing a valid User Name & Password, will not affect ( by any means ) the
                                    anonymous browsing of the web portal, you will not be able to edit any of the Content
                                    or Administartion entries.</li>
                                <li>In case that you are one of the Portal Team, you will have to refer to the Web Portal
                                    Admin to provide a Valid User Name and Password, with the needed privilages suitable
                                    for your role in web portal administration or content editing.</li>
                            </ul>
                        </li>
                    </ul>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td style="border: medium solid #000000; width: 100%;">
                <asp:Panel ID="welcome" runat="server" GroupingText="Setup">
                    <table width="100%">
                        <tr>
                            <td colspan="2" align="center">
                                Please, Choose your browsing Language :
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 50%" align="right">
                                Language
                            </td>
                            <td style="width: 50%">
                                <asp:DropDownList ID="ddlLanguageCode" runat="server">
                                    <asp:ListItem Text="English" Value="1033"></asp:ListItem>
                                    <asp:ListItem Text="عربى" Value="1025"></asp:ListItem>
                                    <asp:ListItem Text="Français" Value="1036"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="center">
                                <hr />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="center">
                                Please, Choose your browsing MODE :
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 50%" align="right">
                                Browsing Mode
                            </td>
                            <td style="width: 50%">
                                <asp:DropDownList ID="ddlBrowsingMode" runat="server">
                                    <asp:ListItem Text="Index Mode" Value="1"></asp:ListItem>
                                    <asp:ListItem Text="Entities Mode" Value="2"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="center">
                                <hr />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="center">
                                Please, Provide your Credentials (In Case of Portal Admins ) :
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 50%" align="right">
                                User Name
                            </td>
                            <td style="width: 50%">
                                <asp:TextBox ID="tbUserName" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 50%" align="right">
                                Password
                            </td>
                            <td style="width: 50%">
                                <asp:TextBox ID="tbPassword" runat="server" TextMode="Password"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="center">
                                <asp:Button ID="btnlogin" runat="server" Text="Login" OnClick="btnLogin_Click" Width="47px" />
                            </td>
                        </tr>
                           <tr>
                            <td colspan="2" align="center">
                                <asp:Label runat="server" ID="lblError" ForeColor="Red" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="center">
                                <asp:LinkButton runat="server" ID="btnProceed" Text="Proceed to AREED's Web Portal"
                                    OnClick="btnProceed_Click">
                                </asp:LinkButton>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
